lsm_target_port_record_array_free(3) | Libstoragemgmt C API Manual | lsm_target_port_record_array_free(3) |
NAME¶
lsm_target_port_record_array_free - Frees the memory of lsm_target_port array
SYNOPSIS¶
int lsm_target_port_record_array_free (lsm_target_port *tp[], uint32_t size);
ARGUMENTS¶
VERSION¶
1.0
DESCRIPTION¶
Frees the memory for each of lsm_target_port and then the target_port array itself.
RETURN¶
Error code as enumerated by 'lsm_error_number':
* LSM_ERR_OK
On success or not found.
* LSM_ERR_INVALID_ARGUMENT
When not a valid lsm_target_port pointer.
lsm_target_port_record_array_free | April 2021 |